<template>
	<view class="content">
		<video
		id="tvPlayer"
		src="http://dbiptv.sn.chinamobile.com/PLTV/88888888/224/3221226231/1.m3u8"
		autoplay="true"
		controls="false"
		@play="playVideo"
		style="width: 100vw; height: 100vh;"
		></video>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {

		},
		methods: {
			playVideo() {
				uni.createVideoContext('tvPlayer').requestFullScreen()
			}
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
</style>
